package cn.yikaojiuguo.student.support.simple;

import android.os.Environment;

import cn.yikaojiuguo.student.app.YiKaoApplication;

/**
 * Created by cfan_yang on 2015/12/14.
 */
public class ArgsConstants {

    public final static String PACKAGE_NAME = YiKaoApplication.getInstance().getPackageName();
    //SD卡路径
    public final static String SD_DIR = Environment.getExternalStorageDirectory().getAbsolutePath();
    //data路径
    public final static String DATA_DIR = "data" + Environment.getDataDirectory().getAbsolutePath
            () + "/";
    //缓存文件相对路径
    public final static String CACHE_DIR = "/yikaojiuguostudent/cache/";
    //缓存数据库名称
    public final static String DB_CACHE_NAME = "cache.db";
    //缓存数据库路径,默认为SD卡中，如果SD卡不存在，则为data/data目录
    public final static String DB_CACHE_DIR = Environment.getExternalStorageState().equals
            (Environment.MEDIA_MOUNTED) ? SD_DIR + CACHE_DIR : DATA_DIR + PACKAGE_NAME + CACHE_DIR;
    //省份evalue
    public final static int EVALUE_PROVINCE = 1;
    //专业evalue
    public final static int EVALUE_MAJOR = 33;

    public final static int TAB_ASK = 0;
    public final static int TAB_COURSE = 1;
    public final static int TAB_MY = 2;

    public final static String DEVICE = "android";

    public final static String USER_INFO = "user_info";
    public final static String SECRETKEY = "secretkey";
    public final static String CODE = "code";
    public final static String NUMBER = "number";
    public final static String CHOOSE_MAJOR = "choose_major";
    public final static String CHOOSE_GRADE = "choose_grade";
    public final static String CHOOSE_PROVINCE = "choose_province";
    public final static String MOBILE_NUMBER = "mobile_number";
    public final static String VERSIONG_CODE = "version_code";
    public final static String MAJOR_ID = "marjor_id";
    public final static String MAJOR_NAME = "marjor_NAME";
    public final static String GRADE_ID = "grade_id";
    public final static String GRADE_NAME = "grade_name";
    public final static String CAPTCHA = "captcha";
    public final static String PROVINCE_ID = "province_id";
    public final static String PROVINCE_NAME = "province_name";
    public final static String INDEX = "index";
    public final static String USER_ID = "user_id";
    public final static String IS_USER_INFO_CACHE = "is_user_info_cache";
    public final static String USER_AVATAR = "user_avatar";
    public final static String GOLD_COIN_NUM = "gold_coin_num";
    public final static String USER_NAME = "user_name";
    public final static String UPLOAD_IMAGE = "upload.jpg";
    public final static String IS_USER_INFO_CACHE_CHANGED = "is_user_info_cache_changed";
    public final static String UPLOAD_IMG_NAME = "upload_img_name";
    public final static String USER_SEX = "user_sex";
    public final static String USER_BIRTH = "user_birth";
    public final static String MESSAGE_SOUND_STATE = "message_sound_state";
    public final static String MESSAGE_VIBRATE_STATE = "message_vibrate_state";
    public final static String PICS = "pics";
    public final static String MAX = "max";
    public final static String TYPE = "type";
    public final static String CAN_DELETE = "can_delete";
    public final static String FIXED_TIME = "fixed_time";
    public final static String LONG_TIME = "long_time";
    public final static String CONTENT = "content";
    public final static String BEAN = "bean";

}
